﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Compilex.Syntatic
{
    public enum SymbolClass
    {
        Variavex,
        Vetex,
        Funcex,
        Estruturex
    }

    public class Symbol
    {
        public Symbol()
        {
        }

        public Symbol(string identifier, SymbolClass symClass,
            SymbolDescriptor descriptor)
        {
            this.Identifier = identifier;
            this.Class = symClass;
            this.Descriptor = descriptor;
        }
        public string Identifier { get; set; }
        public SymbolClass Class { get; set; }
        public SymbolDescriptor Descriptor { get; set; }
    }
}
